package com.itheima.exception;

import lombok.Getter;


/**
 *
 * @author 李华武
 * @date 2023/09/23
 */
@Getter
public class DeletionNotAllowedException extends BusinessException{

    private int code = 1000;

    public DeletionNotAllowedException(String message) {
        super(message);
    }

    public DeletionNotAllowedException(String message, int code) {
        super(message);
        this.code = code;
    }
}
